package com.geovis.boot.service;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.redis.repository.configuration.EnableRedisRepositories;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
public class GbServiceDemoStarter {
    public static void main(String[] args) {
        SpringApplication.run(GbServiceDemoStarter.class, args);
    }

    @RestController
    class EchoController {
        @RequestMapping(value = "/echo/{a}")
        public String echo(@PathVariable("a") String a) {
            return a;
        }

    }
}
